<?php
namespace app\admin\controller;
use app\admin\model\Menu;
use app\common\Base;
use think\Cache;

class Index extends Base
{
	public function index()
	{
		$menu = new Menu();
        $menuList = $menu->getMenu(appUser()["职位"]);
        $this->assign("json", $menuList);
		//$this->assign("json", appUser()["menuList"]);
		$this->assign("currTerm", currTerm());
		return $this->fetch();
	}

	public function gradeList() {
		return gradeList();
	}

}
